﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClassLibrary
{
    public class Patient
    {
        int _id;
        string _cpr;
        string _name;
        string _address;
        int _zip;
        string _city;
        int _phonenumber;
        string _email;

        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }
        
        public string Cpr
        {
            get { return _cpr; }
            set { _cpr = value; }
        }
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
        public string Address
        {
            get { return _address; }
            set { _address = value; }
        }
        public int Zip
        {
            get { return _zip; }
            set { _zip = value; }
        }
        public string City
        {
            get { return _city; }
            set { _city = value; }
        }
        public int Phonenumber
        {
            get { return _phonenumber; }
            set { _phonenumber = value; }
        }
        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        public Patient(string cpr, string name, string address, int zip, string city, int phonenumber, string email)
        {
           
            Cpr = cpr;
            Name = name;
            Address = address;
            Zip = zip;
            City = city;
            Phonenumber = phonenumber;
            Email = email;
        }
    }
}
